package com.lingkang.flychat.utils;

import com.alibaba.fastjson.JSONObject;
import com.lingkang.flychat.dto.ResponseResult;
import com.lingkang.flychat.entity.User;

public class DataToEntity {

    public static User dataToUser(ResponseResult result){
        JSONObject jsonObject = JSONObject.parseObject(String.valueOf(result.getData()));
        jsonObject.getString("name");
        return null;
    }
}
